package com.itheima.edu.info.manger.dao;

import com.itheima.edu.info.manger.domain.Student;

import java.util.ArrayList;

public abstract class BaseStudentDao {
    private static ArrayList<Student>  stus= new ArrayList<>();
    static {
        Student stu1=new Student("22","张三","44","44444");
     Student stu2=new Student("255","张","48","44444");
     stus.add(stu1);
        stus.add(stu2);
    }
    public abstract boolean addtudent(Student stu) ;

    public abstract Student[] findstudentid() ;

    public abstract void deleteid(String deid);
    public abstract int gitid(String id);

    public abstract void updatastudent(String upid, Student sutnew) ;
}

